﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Budget.DataAccess;
using Budget.WCF;

namespace Budget.UnitTests.WCF.DIObjects
{
	public class DICategoryServiceWrapper
	{
		ICategoryService svc;

		public DICategoryServiceWrapper( ICategoryService svc )
		{
			this.svc = svc;
		}

		public Category GetCategoryById( int ID )
		{
			return svc.GetCategoryById( ID );
		}

		public IList<Category> GetAll()
		{
			return this.svc.GetAll();
		}

		public void Save( Category category )
		{
			this.svc.Save( category );
		}

	}
}
